LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE    := OgreMove

LOCAL_LDLIBS 	:= -landroid 
LOCAL_LDLIBS	+= -lc 
LOCAL_LDLIBS	+= -lm 
LOCAL_LDLIBS	+= -ldl 
LOCAL_LDLIBS	+= -llog 
LOCAL_LDLIBS	+= -lEGL 
LOCAL_LDLIBS	+= -lGLESv1_CM
LOCAL_LDLIBS	+= -L$(OGRE_ANDROID_HOME)/Ogre/lib/armeabi-v7a -L$(OGRE_ANDROID_HOME)/Dependencies/lib/armeabi-v7a
LOCAL_LDLIBS	+= -lPlugin_ParticleFXStatic -lPlugin_OctreeSceneManagerStatic -lRenderSystem_GLESStatic -lOgreOverlayStatic -lOgreMainStatic
LOCAL_LDLIBS	+= -lzzip -lz -lFreeImage -lfreetype -lOIS  $(OGRE_ANDROID_HOME)/Dependencies/lib/armeabi-v7a/libsupc++.a $(OGRE_ANDROID_HOME)/Dependencies/lib/armeabi-v7a/libstdc++.a
LOCAL_LDLIBS	+= F:/Tanulas/Onlab/common-android-native-libs-master/common-android-native-libs-master/lua/obj/local/armeabi-v7a/liblua.a
LOCAL_LDLIBS	+= F:/Tanulas/Onlab/common-android-native-libs-master/common-android-native-libs-master/luabind/obj/local/armeabi-v7a/libluabind.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libLowLevel.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPhysX3.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPhysX3CharacterKinematic.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPhysX3Common.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPhysX3Cooking.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPhysX3Extensions.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPhysX3Vehicle.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPhysXProfileSDK.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPhysXVisualDebuggerSDK.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPvdRuntime.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libPxTask.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libRepXUpgrader3.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libSceneQuery.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libSimulationController.a
LOCAL_LDLIBS	+= ../libraries/PhysX-3.3.0_ANDROID_SDK_Core/Lib/android9/libRepX3.a
LOCAL_LDLIBS	+= D:/Tanulas/Onlab/ultimate/UltimateSubsystemRegistry/obj/local/armeabi-v7a/libUltimateSubsystemRegistry.a
LOCAL_STATIC_LIBRARIES := android_native_app_glue cpufeatures

LOCAL_CFLAGS := -DGL_GLEXT_PROTOTYPES=1 -I$(OGRE_ANDROID_HOME)/Ogre/include/Build -I$(OGRE_ANDROID_HOME)/Ogre/include/OgreMain -I$(OGRE_ANDROID_HOME)/Ogre/include/RenderSystems/GLES
LOCAL_CFLAGS += -I$(OGRE_ANDROID_HOME)/Ogre/include/RenderSystems/GLES/EGL -I$(ANDROID_NDK)/sources/cpufeatures -I$(OGRE_ANDROID_HOME)/Ogre/include/Components
LOCAL_CFLAGS += -I$(OGRE_ANDROID_HOME)/Ogre/include/PlugIns/ParticleFX -I$(OGRE_ANDROID_HOME)/Ogre/include/PlugIns/OctreeSceneManager 
LOCAL_CFLAGS += -I$(OGRE_ANDROID_HOME)/Dependencies/include -I$(OGRE_ANDROID_HOME)/Dependencies/include/OIS 
LOCAL_CFLAGS += -I../libraries/PhysX-3.3.0_ANDROID_SDK_Core/include/
LOCAL_CFLAGS += -I../libraries/PhysX-3.3.0_ANDROID_SDK_Core/include/characterkinematic/
LOCAL_CFLAGS += -I../libraries/PhysX-3.3.0_ANDROID_SDK_Core/include/foundation/
LOCAL_CFLAGS += -I../libraries/PhysX-3.3.0_ANDROID_SDK_Core/include/cooking/
LOCAL_CFLAGS += -I../libraries/PhysX-3.3.0_ANDROID_SDK_Core/include/extensions/
LOCAL_CFLAGS += -Iinclude
LOCAL_CFLAGS += -I../UltimateSubsystemRegistry/include
LOCAL_CFLAGS += -IF:/Tanulas/Onlab/common-android-native-libs-master/common-android-native-libs-master/luabind/jni
LOCAL_CFLAGS += -IF:/Tanulas/Onlab/common-android-native-libs-master/common-android-native-libs-master/lua/jni/include
LOCAL_CFLAGS += -ID:/Tanulas/Onlab/ultimate/UltimateSubsystemRegistry/include
LOCAL_CFLAGS += -ID:/Tanulas/Onlab/ultimate/UltimateAsioNetworkPlugin/include
LOCAL_CFLAGS += -ID:/Tanulas/Onlab/ultimate/UltimatePhysX3Plugin/include     
LOCAL_CFLAGS += -fexceptions -frtti -x c++ -D___ANDROID___ -DANDROID -DZZIP_OMIT_CONFIG_H 

LOCAL_PATH := .

LOCAL_SRC_FILES := ../UltimatePhysX3Plugin/src/UltimatePhysX3Actor.cpp
LOCAL_SRC_FILES += ../UltimatePhysX3Plugin/src/UltimatePhysX3ActorDesc.cpp
LOCAL_SRC_FILES += ../UltimatePhysX3Plugin/src/UltimatePhysX3Precompiled.cpp
LOCAL_SRC_FILES += ../UltimatePhysX3Plugin/src/UltimatePhysX3Scene.cpp
LOCAL_SRC_FILES += ../UltimatePhysX3Plugin/src/UltimatePhysX3Subsystem.cpp
LOCAL_SRC_FILES += ../UltimatePhysX3Plugin/src/UltimatePhysX3DLL.cpp
LOCAL_SRC_FILES += ../UltimatePhysX3Plugin/src/UltimatePhysX3.cpp


LOCAL_SRC_FILES += AIController.cpp
LOCAL_SRC_FILES += AIControlLogic.cpp
LOCAL_SRC_FILES += AIEntityControlStub.cpp
LOCAL_SRC_FILES += AIGoal.cpp
LOCAL_SRC_FILES += BodyRailController.cpp
LOCAL_SRC_FILES += BodyRailControlLogic.cpp
LOCAL_SRC_FILES += Controller.cpp
LOCAL_SRC_FILES += ControlStatus.cpp
LOCAL_SRC_FILES += CurveGenerator.cpp
LOCAL_SRC_FILES += CustomScriptAction.cpp
LOCAL_SRC_FILES += DamageAction.cpp
LOCAL_SRC_FILES += DeleteAction.cpp
LOCAL_SRC_FILES += EntityControl.cpp
LOCAL_SRC_FILES += EntityParameter.cpp
LOCAL_SRC_FILES += ExplodeAction.cpp
LOCAL_SRC_FILES += FreeMoveAction.cpp
LOCAL_SRC_FILES += FreeRayReq.cpp
LOCAL_SRC_FILES += Game.cpp
LOCAL_SRC_FILES += GameOverAction.cpp
LOCAL_SRC_FILES += IntEntityParameter.cpp
LOCAL_SRC_FILES += KilledReq.cpp
LOCAL_SRC_FILES += Launcher.cpp
LOCAL_SRC_FILES += LogManager.cpp
LOCAL_SRC_FILES += NodeEntityBody.cpp
LOCAL_SRC_FILES += OgreEntityBody.cpp
LOCAL_SRC_FILES += OnRailMoveAction.cpp
LOCAL_SRC_FILES += ParticleEntityBody.cpp
LOCAL_SRC_FILES += PhysicsEntityBody.cpp
LOCAL_SRC_FILES += PlayerBodyController.cpp
LOCAL_SRC_FILES += PlayerBodyControlLogic.cpp
LOCAL_SRC_FILES += PlayerControlElement.cpp
LOCAL_SRC_FILES += PlayerController.cpp
LOCAL_SRC_FILES += PlayerControlLogic.cpp
LOCAL_SRC_FILES += PositionReq.cpp
LOCAL_SRC_FILES += PSysAction.cpp
LOCAL_SRC_FILES += RoundCamera.cpp
LOCAL_SRC_FILES += SetParameterAction.cpp
LOCAL_SRC_FILES += StackAllocatorManager.cpp
LOCAL_SRC_FILES += stdafx.cpp
LOCAL_SRC_FILES += StringEntityParameter.cpp
LOCAL_SRC_FILES += Target.cpp
LOCAL_SRC_FILES += TargetController.cpp
LOCAL_SRC_FILES += TargetControlLogic.cpp
LOCAL_SRC_FILES += Trigger.cpp
LOCAL_SRC_FILES += TriggerRequirement.cpp
LOCAL_SRC_FILES += VectorEntityParameter.cpp
LOCAL_SRC_FILES += src/UltimatePhysicsActorDescMock.cpp
LOCAL_SRC_FILES += src/UltimatePhysicsActorMock.cpp
LOCAL_SRC_FILES += src/UltimatePhysicsSceneMock.cpp
LOCAL_SRC_FILES += src/UltimatePhysicsSubsystemMock.cpp
LOCAL_SRC_FILES += src/UltimateSoundMock.cpp
LOCAL_SRC_FILES += src/NegateReq.cpp
LOCAL_SRC_FILES += src/KillAction.cpp
LOCAL_SRC_FILES += src/NetworkController.cpp
LOCAL_SRC_FILES += src/NetworkControlLogic.cpp
LOCAL_SRC_FILES += src/PlayerProjectileController.cpp
LOCAL_SRC_FILES += src/PlayerProjectileControlLogic.cpp

LOCAL_SRC_FILES += ../UltimateSubsystemRegistry/src/UltimatePhysicsActor.cpp
LOCAL_SRC_FILES += ../UltimateSubsystemRegistry/src/UltimatePhysicsActorDesc.cpp
LOCAL_SRC_FILES += ../UltimateSubsystemRegistry/src/UltimatePhysicsContactListener.cpp
LOCAL_SRC_FILES += ../UltimateSubsystemRegistry/src/UltimatePhysicsScene.cpp
LOCAL_SRC_FILES += ../UltimateSubsystemRegistry/src/UltimatePhysicsSubsystem.cpp
LOCAL_SRC_FILES += ../UltimateSubsystemRegistry/src/UltimateSoundSubsystem.cpp
LOCAL_SRC_FILES += ../UltimateSubsystemRegistry/src/UltimateSubsystemRegistry.cpp
LOCAL_SRC_FILES += ../UltimateSubsystemRegistry/src/UltimateSubsystemRegistryPrecompiled.cpp

LOCAL_SRC_FILES += ../UltimateAsioNetworkPlugin/src/UltimateAsioNetworkPluginPrecompiled.cpp
LOCAL_SRC_FILES += ../UltimateAsioNetworkPlugin/src/UltimateAsioNetworkSubsystem.cpp
	

	
include $(BUILD_STATIC_LIBRARY) 
  